package com.kingmed.kmss.admin.modules.ums.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kingmed.kmss.admin.modules.ums.model.UmsKmcsOrg;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * KMCS子公司名称及代码 Mapper 接口
 * </p>
 *
 * @author wyl
 * @since 2023-03-17
 */
public interface UmsKmcsOrgMapper extends BaseMapper<UmsKmcsOrg> {

    @Select("select DISTINCT org_code,org_level,org_parent_code from ums_kmcs_org")
    List<UmsKmcsOrg> getUmKmcsOrgList();
}
